package D240523;

public class Test {
    public static void main(String[] args) {
        String s = "sb";
        String content = "acusbikmnesbciouinsbeik123dsb9";
        int count = 0;
        for (int i = 0; i < content.length() - s.length(); i++) {
            if (s.equalsIgnoreCase(content.substring(i, i + s.length()))) {
                count++;
            }
        }
        System.out.println(count+ "处");
    }
}
